﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace ProfilerPOC
{
    public partial class ParamFetch : Form
    {

        public event EventHandler RaiseParametersDefined;

        private static string _params;

        public string Params
        {
            get { return _params; }
            set { value = _params; }
        }

        public ParamFetch()
        {
            InitializeComponent();

        }

        private void button1_Click(object sender, EventArgs e)
        {
            if (RaiseParametersDefined != null)
            {
                _params = textParams.Text;
                RaiseParametersDefined(null, new EventArgs());
            }
            this.Close();
        }
    }
}
